package com.lx.controller;

import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;

import java.net.URL;
import java.util.ResourceBundle;

//用来注册界面
public class RegistController implements Initializable {
    private MainApp mainApp;

    public void setApp(MainApp mainApp){
        this.mainApp = mainApp;
    }

    @FXML
    private void registSuccess(ActionEvent event) {
        mainApp.backregist();
    }

    @Override
    public void initialize(URL url, ResourceBundle rb) {

    }

}